Skip to content

Conversation

@zharinov
Copy link
Member

Summary

  • Remove flags field from bytecode header, bump VERSION to 3
  • Remove emit() for unlinked bytecode, rename emit_linked()emit()
  • CLI dump and infer commands now require -l language flag
  • Update tests to use real JavaScript node types instead of synthetic ones
  • Extract require_lang() helper to deduplicate CLI language resolution

Why

Unlinked bytecode was designed for distributable queries, but the actual use case is build-time compilation with embedded bytecode. The VM already rejected unlinked bytecode anyway — this removes dead code paths and simplifies the emission pipeline.

@zharinov zharinov enabled auto-merge (squash) January 15, 2026 03:52
@zharinov zharinov merged commit 67380b4 into master Jan 15, 2026
3 checks passed
@zharinov zharinov deleted the refactor/remove-unlinked-bytecode branch January 15, 2026 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants